//
//  AboutUsViewController.m
//  HealthA段
//
//  Created by MrJXT on 15/6/15.
//  Copyright (c) 2015年 www.lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "AboutUsViewController.h"
#define WIDTH self.view.frame.size.width
#define HEIGHT self.view.frame.size.height
#import "TextLabel.h"
@interface AboutUsViewController ()

@end

@implementation AboutUsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor blackColor];
    self.title = @"关于我们";
    TextLabel *myLAbel = [[TextLabel alloc]initWithFrame:CGRectMake(0, 0, WIDTH, HEIGHT -  64 - 49)];
    UIColor *color = [UIColor colorWithPatternImage:[UIImage imageNamed:@"us.jpg"]];
    [myLAbel setBackgroundColor:color];
    myLAbel.tag = 1000;
    myLAbel.backgroundColor = [UIColor colorWithRed:40 / 256.0 green:44 / 256.0 blue:49 / 256.0 alpha:1];
    myLAbel.numberOfLines = 0;
    myLAbel.text = @"\t\t\t\t\t联系客服\t\n\n\t\t客服QQ:965945483\n\n\t\t客服邮箱:naliu5921@163.com \n\n\n\n\t\t\t\t\t开发团队\n\n\t\t\t\t曲忠根  贾晓堂 ";
    myLAbel.textColor = self.view.backgroundColor;
    myLAbel.typewriteEffectColor = [UIColor cyanColor];
    myLAbel.typewriteTimeInterval = 0.1;
    [self.view addSubview:myLAbel];
    
    [self performSelector:@selector(startOutPut) withObject:nil afterDelay:0.3];
    
    UIImageView *usview = [[UIImageView alloc]initWithFrame:CGRectMake(0.38 *WIDTH, 20, 80, 80)];
    usview.backgroundColor = [UIColor redColor];
    [self.view addSubview:usview];
    [usview release];
    
}
-(void)startOutPut
{
    TextLabel *myLabel = (TextLabel *)[self.view viewWithTag:1000];
    [myLabel startTypewrite];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
